package com.ybkj.o2o.zhuanche.mapper;

import com.ybkj.o2o.zhuanche.entity.OrderOrbit;
import com.ybkj.o2o.zhuanche.entity.OrderOrbitCriteria;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;

import java.util.List;

public interface OrderOrbitMapper extends BaseMapper<OrderOrbit, OrderOrbitCriteria, Long> {
  Long countByExample(OrderOrbitCriteria example);

  int deleteByExample(OrderOrbitCriteria example);

  int deleteByPrimaryKey(Long id);

  int insert(OrderOrbit record);

  int insertSelective(OrderOrbit record);

  List<OrderOrbit> selectByExampleWithBlobsWithRowbounds(OrderOrbitCriteria example,
      RowBounds rowBounds);

  List<OrderOrbit> selectByExampleWithBlobs(OrderOrbitCriteria example);

  List<OrderOrbit> selectByExampleWithRowbounds(OrderOrbitCriteria example, RowBounds rowBounds);

  List<OrderOrbit> selectByExample(OrderOrbitCriteria example);

  OrderOrbit selectByPrimaryKey(Long id);

  int updateByExampleSelective(@Param("record") OrderOrbit record,
      @Param("example") OrderOrbitCriteria example);

  int updateByExampleWithBlobs(@Param("record") OrderOrbit record,
      @Param("example") OrderOrbitCriteria example);

  int updateByExample(@Param("record") OrderOrbit record,
      @Param("example") OrderOrbitCriteria example);

  int updateByPrimaryKeySelective(OrderOrbit record);

  int updateByPrimaryKeyWithBlobs(OrderOrbit record);

  int updateByPrimaryKey(OrderOrbit record);
}
